package com.book.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.business.entity.BookCart;
import com.book.common.entity.QueryRequest;

import java.util.List;

/**
 * @Author: 盛佳帅
 * @Description:  20173953
 */

public interface BookCartService extends IService<BookCart> {
    /**
     * @Description:查所有
     */
    List<BookCart> findBookCart(BookCart bookCart);

    /**
     * @Description:分页
     */
    IPage<BookCart> pageBookCart(QueryRequest request, BookCart bookCart);

    /**
     * @Description:新增
     */
    void addBookCart(BookCart bookCart);

    /**
     * @Description:修改
     */
    void updateBookCart(BookCart bookCart);

    /**
     * @Description:复选删除
     */
    void deleteBookCart(String[] bookCart);

    /**
     * @Description:复选支付
     */
    List<BookCart> payBookCart(String[] bookCart);
}
